﻿using System;
namespace VegetableSale.NET.Entities;

public class Gooden
{
    private uint commid;
    private string commname;
    private double commoney;
    private string commdesc;
    private int providerid;
    private string commbering;
    private string size;
    private double inventory;
    private string picture;
    private string pvename;


    public Gooden(uint commid, string commname, double commoney, string commdesc, int providerid, string commbering, string size, double inventory, string picture, string pvename)
    {
        this.commid = commid;
        this.commname = commname;
        this.commoney = commoney;
        this.commdesc = commdesc;
        this.providerid = providerid;
        this.commbering = commbering;
        this.size = size;
        this.inventory = inventory;
        this.picture = picture;
        this.pvename = pvename;
    }

    public uint Commid
    {
        get => commid;
        set => commid = value;
    }

    public string Commname
    {
        get => commname;
        set => commname = value;
    }

    public double Commoney
    {
        get => commoney;
        set => commoney = value;
    }

    public string Commdesc
    {
        get => commdesc;
        set => commdesc = value;
    }

    public int Providerid
    {
        get => providerid;
        set => providerid = value;
    }

    public string Commbering
    {
        get => commbering;
        set => commbering = value;
    }

    public string Size
    {
        get => size;
        set => size = value;
    }

    public double Inventory
    {
        get => inventory;
        set => inventory = value;
    }

    public string Picture
    {
        get => picture;
        set => picture = value;
    }
    public string Pvename { get => pvename; set => pvename = value; }
}

